package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="survey_answer")
public class SurveyAnswer extends TXBYObject
{
    private Integer uid;

    @Column(name="survey_id")
    @JSONField(name ="survey_id")
    private Integer surveyId;

    @Column(name="quest_id")
    @JSONField(name ="quest_id")
    private Integer questId;
    private String content;

    @Column(name="doctor_uid")
    @JSONField(name ="doctor_uid")
    private Integer doctorUid;
    private Integer score;

    @Column(name="visit_id")
    @JSONField(name ="visit_id")
    private Integer visitId;
    private Integer type;

    public Integer getType()
    {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getVisitId() {
        return this.visitId;
    }

    public void setVisitId(Integer visitId) {
        this.visitId = visitId;
    }

    public SurveyAnswer()
    {
        this.score = Integer.valueOf(0);
    }

    public Integer getScore() {
        return this.score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getDoctorUid() {
        return this.doctorUid;
    }

    public void setDoctorUid(Integer doctorUid) {
        this.doctorUid = doctorUid;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUid() {
        return this.uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getSurveyId() {
        return this.surveyId;
    }

    public void setSurveyId(Integer surveyId) {
        this.surveyId = surveyId;
    }

    public Integer getQuestId() {
        return this.questId;
    }

    public void setQuestId(Integer questId) {
        this.questId = questId;
    }

    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis());
    }
}
